package com.easipass.util;



import java.io.IOException;
import java.nio.file.Files;
import java.nio.file.Path;
import java.util.List;

public class FileUtils {

    public static List<String> readFileLines(Path filePath) throws IOException {
        return Files.readAllLines(filePath);
    }

    public static void writeFileLines(Path filePath, List<String> lines) throws IOException {
        Files.write(filePath, lines);
    }
}